﻿using AiChiTu.TraceabilitySystem.ErrorCode;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace AiChiTu.TraceabilitySystem.Write.API.Applications.Commands.Breedings
{
	/// <summary>
	/// 修改养殖信息请求命令
	/// </summary>
	public class UpdateBreedingCommand : IRequest<APIResult<bool>>
	{
		/// <summary>
		/// 养殖信息ID
		/// </summary>
		public int BreedingId { get; set; }
		/// <summary>
		/// 品种
		/// </summary>
		public string BreedingType { get; set; }
		/// <summary>
		/// 来源
		/// </summary>
		public string Source { get; set; }
		/// <summary>
		/// 饲养天数
		/// </summary>
		public int FeedingDays { get; set; }
		/// <summary>
		/// 饲料品牌
		/// </summary>
		public string FeedBrand { get; set; }
		/// <summary>
		/// 饲养负责人
		/// </summary>
		public string Principal { get; set; }
		/// <summary>
		/// 出栏日期
		/// </summary>
		public DateOnly PublicationDate { get; set; }
	}
}
